package com.wanhe.base.model.disgn;

import com.wanhe.base.model.base.Dish;

import java.util.List;

/**
 * File Name:ViewEvent.java<br/>
 * Package Name:com.wanhe.base.model.disgn<br/>
 * Date:2017/7/10 16:10<br/>
 * author:chendeji<br/>
 * desc: 视图发出的事件对象，其中包含操作的菜品类型，以及触发事件的视图控件的坐标位置以及宽高大小<br/>
 * Copyright (c) 2017/7/10, 781571323@qq.com All Rights Reserved.
 *
 */
public class ViewEvent {

	public List<Event>	mEvents;
	public Dish			dish;
	public Coor			coor;

	private int			fromCid;

	public int getFromCid() {
		return fromCid;
	}

	public void setFromCid(int fromCid) {
		this.fromCid = fromCid;
	}

	/**
	 * File Name:ViewEvent.java<br/>
	 * Package Name:com.wanhe.base.model.disgn<br/>
	 * Date:2017/7/11 15:49<br/>
	 * author:chendeji<br/>
	 * desc: 视图控件的位置大小信息<br/>
	 * Copyright (c) 2017/7/11, 781571323@qq.com All Rights Reserved.
	 *
	 */
	public static class Coor {
		public int	l;
		public int	t;
		public int	r;
		public int	b;
	}

}
